import Vue from 'vue'
function authFun (el , binding) {
    const { value, arg } = binding
    el.style.display = arg?.includes(value) ? 'inline-block' : 'none' 
}

Vue.directive('Auth', {
    bind: authFun,
    componentUpdated: authFun
})
